package com.chkj.fbook.system.dao;

import com.chkj.fbook.system.domain.UserDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 
 * @date 2023-10-2 09:45:11
 */
@Mapper
public interface UserDao {

	UserDO get(String userId);
	
	List<UserDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	int save(UserDO user);
	
	int update(UserDO user);
	
	int remove(String userId);
	
	int batchRemove(String[] userIds);
	
	String[] listAllDept();

	UserDO getByUserName(String username);

}
